home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3006 / 3006.xpi / chrome / dwhelper.jar / content / smart-name-overlap.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  1KB  |  45 lines

  1. <?xml version="1.0"?> 
  2. <!-- *****************************************************************************
  3.  *            Copyright (c) 2006-2009 Michel Gutierrez. All Rights Reserved.
  4.  ****************************************************************************** -->
  5. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://dwhelper/content/bindings.css" type="text/css"?>
  7.  
  8. <!DOCTYPE dialog SYSTEM "chrome://dwhelper/locale/dwhelper.dtd" >
  9.  
  10. <dialog id="dwhelper-smart-name-overlap"
  11.         flex="1"
  12.         title="&smartname.overlap.title;"
  13.         onload="onLoad()"
  14.         ondialogaccept="onOk()"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.         xmlns:html="http://www.w3.org/1999/xhtml"
  17.         buttons="cancel,accept">
  18.         
  19.     <html:style>
  20.     </html:style>
  21.  
  22.     <script><![CDATA[
  23. var Util=Components.classes["@downloadhelper.net/util-service;1"]
  24.     .getService(Components.interfaces.dhIUtilService);
  25.  
  26. function onLoad() {
  27.     var dialogData=window.arguments[0];
  28.     var sno=document.getElementById("overlap");
  29.     sno.value=dialogData.overlap;
  30.     window.sizeToContent();
  31. }
  32.  
  33. function onOk() {
  34.     var data=window.arguments[0];
  35.     data.ok=true;
  36.     data.value=document.getElementById("overlap").value;
  37. }
  38.  
  39. ]]>
  40.     </script>
  41.  
  42.     <SmartNameOverlap id="overlap" flex="1"/>
  43.  
  44. </dialog>
  45.